Skip to main content

revXMLRPC_GetRequest

Type

function

Summary

This function returns the request document that was executed and resulted in the response document.

Syntax

revXMLRPC_GetRequest(<XMLRPCdocumentID>)

Description

Use the revXMLRPC_GetRequest function to retrieve the original XML-RPC request whose execution resulted in the XML-RPC response document.

Important

The revXMLRPC_GetResponse function is part of the XML-RPC library. To ensure that the function works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure the "XML-RPC" library checkbox is checked.

Parameters

NameTypeDescription

XMLRPCdocumentID

integer

The number returned by the revXMLRPC_Execute function if it was executed successfully. If the revXMLRPC_GetRequest function encounters an error, it returns an error message starting with "xmlrpcerr" ..

Examples

local tRequest
put revXMLRPC_GetRequest(tResponse) into tRequest

function: revXMLRPC_GetResponse, revXMLRPC_Error, revXMLRPC_CreateRequest, revXMLRPC_Execute

glossary: LiveCode custom library, Standalone Application Settings, standalone application, function, XML-RPC

library: XML-RPC library

Compatibility and Support

Introduced

LiveCode 2.5

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?